home *** CD-ROM | disk | FTP | other *** search
/ Dr. Windows 3 / dr win3.zip / dr win3 / WINSOUND / CHIMES.ZIP / CHIMES.TXT < prev    next >
Text File  |  1993-08-14  |  4KB  |  106 lines

  1.  
  2.                          Chimes
  3.                            by
  4.                      David C. Elliott
  5.  
  6. Chimes is a primitive MIDI random "music" generator
  7. for Windows.
  8.  
  9. You could call it an algorithmic music program, though
  10. it's not very sophisticated.  All it does is to attach
  11. relative probability values (0-100) to the MIDI notes,
  12. and then pick a note from that probability space.  The
  13. probabilities are set by the various buttons, which are
  14. described later.
  15.  
  16. To get started, just hit the Play button.  If you don't
  17. hear anything, move the channel slider up to the high
  18. end of the range (I developed the program on a MultiSound,
  19. and didn't think about users of 4-channel synth cards).
  20.  
  21. The channel and program sliders set the MIDI channel and
  22. program number (a program change message is sent each
  23. time it is changed and when the channel is changed).
  24.  
  25. The volume sliders set the MIDI velocity value range.  A
  26. random value in that range is selected.  If the SHIFT
  27. key is held while changing one value, the other value is
  28. changed by the same amount (within constraints).
  29.  
  30. The length sliders work similarly, setting the length
  31. range for the notes.
  32.  
  33. The note range sliders also work similarly.
  34.  
  35. The rest probability slider sets the probability that
  36. no note will be played.  This is an actual probability,
  37. not a relative one (that is, the program starts by
  38. deciding whether or not to rest, so a rest probability of
  39. 100 means silence).
  40.  
  41. The Play/Stop button at the bottom starts the ball rolling.
  42.  
  43. OK, now to the note probability buttons.  In all cases, if
  44. you hit the button with the SHIFT key down, all notes are
  45. affected.  Otherwise, only the notes in the current range
  46. are affected.  The buttons work as follows:
  47.  
  48.     Reset - Sets all probabilities to 50.
  49.  
  50.     Randomize - Sets all probabilities to a random value.
  51.  
  52.     Increase - Increases all probabilities by 5.
  53.  
  54.     Decrease - Guess.
  55.  
  56.     Wiggle - Increases or decreases the probabilities
  57.              by a random number up to 5.
  58.  
  59.     Invert - Sets all probabilities to 100 - the current
  60.              value.
  61.  
  62.     Swap - Swaps the note probabilities around the center
  63.            of the range.  For example, if the range is
  64.            F3 to A4, F3 and A4 swap values, F#3 and G#4
  65.            swap values, and so forth.
  66.  
  67.     Zero - Sets all probabilities to 0.
  68.  
  69.     Major, Minor, Fourths, and Fifths - These all set the
  70.         probabilities so that only the corresponding notes
  71.         (major scale, minor scale, root and fourth, and
  72.         root an fith) are played.  The base note is the
  73.         lowest note in the range (unless SHIFT is held,
  74.         of course).
  75.  
  76. You don't get a display of the values (sorry), but you
  77. should be able to guess what the values are.
  78.  
  79. All settings are saved on exit.
  80.  
  81. In general, I find that the most interesting things
  82. come from playing fast and even and without much
  83. range (hmm, sounds a bit like disco, doesn't it?).
  84. For example, check out program 17 with a length
  85. range of [85,85], 0 rest probability, and range [F2,G6].
  86. Channel 16 (drums) is also kind of neat this fast,
  87. but the range [D4,D5] works a bit better.
  88.  
  89. The user interface is pretty dumpy, especially in the area
  90. of display (I don't have time to create a nice MAX-style
  91. Table object, which is what this cries out for), and the
  92. program could do more things. The Open menu item does nothing
  93. at this point.  I intended to make it possible to save and
  94. open settings files, but obviously haven't done so yet.
  95.  
  96. As it stands, I'd say I'm through with Chimes.  I'm more
  97. likely to develop a larger system for doing connected
  98. algorithms and have this be one of the algorithms.  Anyone
  99. interested in this project is welcome to write.
  100.  
  101. DropTrash is Copyright 1993 by David C. Elliott.  It
  102. is freeware and source is included.  If you have any
  103. suggestions for improving it, or for other freeware
  104. programs I can develop, contact me as dce@netcom.com.
  105.  
  106.